package com.futvan.z.erp.customer_notice_sends;

import com.futvan.z.framework.core.z;
import com.futvan.z.framework.util.DateUtil;
import org.springframework.stereotype.Service;
import com.futvan.z.framework.core.SuperService;

@Service
public class Customer_notice_sendsService extends SuperService {

    public void insertRecorde(String zid, String url, String notice_type, String title, String content, String amount) {
        customer_notice_sends recorde = new customer_notice_sends();
        recorde.setRecipients_excel(url);
        recorde.setNotice_type(notice_type);
        recorde.setTitle(title);
        recorde.setContent(content);
        recorde.setAmount(amount);

        recorde.setZid(zid);
        recorde.setNumber(zid);
        recorde.setCreate_time(DateUtil.getDateTime());

        sqlSession.insert("customer_notice_sends_insert", recorde);
    }

}
